home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 974 b | 34 lines | [TEXT/GEOL] |
- Item 2236055 11-Jan-88 10:43
-
- From: WILSON6 Wilson, Dave - Personal Concepts
-
- To: D0830 Data Translation, Dev, R Burger
- MACAPP$ MacApp Interest List
- MACDTS Macintosh Developer Technical Supt.
-
- Sub: Color Printing
-
- Roberto,
-
- I trick that will at least allow the LaserWriter to print B&W versions of a
- color image is one that I use in a color MacPaint program that I wrote for my
- "Programming the Mac II" course given at MacWorld Expo last year.
-
- When I tried CopyBits to the Printer port, the pritning code bombed. If I did
- this, it worked:
-
- SetPort(offscren grafport)
- OpenPicture
- CopyBits
- ClosePicture
-
- DrawPicture(printer grafport)
-
- Now, the DrawPicture routine will interpret the colors, and turn them into B&W.
-
- Would this help?
-
- Dave Wilson
- Instructor, Mac Programming Seminars
-
-